package com.yuyou.fn.educational.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 出勤记录
 *
 */
@TableName(value = "attendance_record")
public class AttendanceRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<AttendanceRecord> createExample(){
		return new Example<AttendanceRecord>(AttendanceRecord.class);
	}

	/**  */
	@TableId(value = "record_id")
	private Long recordId;

	/** 班级ID */
	@TableField(value = "class_id")
	private Long classId;

	/** 讲次 */
	@TableField(value = "lecture_no")
	private Integer lectureNo;

	/** 考勤人ID */
	@TableField(value = "opt_id")
	private Long optId;

	/** 考勤时间 */
	@TableField(value = "attendance_time")
	private Date attendanceTime;

	/** 考勤状态 0:未考勤 1:已考勤 */
	private Integer status;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 缺勤人数 */
	@TableField(value = "absence_amount")
	private Integer absenceAmount;

	/** 出勤人数 */
	@TableField(value = "attendance_amount")
	private Integer attendanceAmount;

	/** 总人数 */
	@TableField(value = "total_amount")
	private Integer totalAmount;

	/** 迟到人数 */
	@TableField(value = "late_amount")
	private Integer lateAmount;

	/** 请假人数 */
	@TableField(value = "leave_amount")
	private Integer leaveAmount;

	public Long getRecordId() {
		return this.recordId;
	}

	public void setRecordId(Long recordId) {
		this.recordId = recordId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Integer getLectureNo() {
		return this.lectureNo;
	}

	public void setLectureNo(Integer lectureNo) {
		this.lectureNo = lectureNo;
	}

	public Long getOptId() {
		return this.optId;
	}

	public void setOptId(Long optId) {
		this.optId = optId;
	}

	public Date getAttendanceTime() {
		return this.attendanceTime;
	}

	public void setAttendanceTime(Date attendanceTime) {
		this.attendanceTime = attendanceTime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getAbsenceAmount() {
		return this.absenceAmount;
	}

	public void setAbsenceAmount(Integer absenceAmount) {
		this.absenceAmount = absenceAmount;
	}

	public Integer getAttendanceAmount() {
		return this.attendanceAmount;
	}

	public void setAttendanceAmount(Integer attendanceAmount) {
		this.attendanceAmount = attendanceAmount;
	}

	public Integer getTotalAmount() {
		return this.totalAmount;
	}

	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Integer getLateAmount() {
		return this.lateAmount;
	}

	public void setLateAmount(Integer lateAmount) {
		this.lateAmount = lateAmount;
	}

	public Integer getLeaveAmount() {
		return this.leaveAmount;
	}

	public void setLeaveAmount(Integer leaveAmount) {
		this.leaveAmount = leaveAmount;
	}

}
